package com.dragon.mmochat.model;

//试道王者宣言
public class MmochatWuDaoWinWords {
	int roleId;
	String name;
	String serverName = "";
	String words;
	int levelRange = 0;// 10,20,30,...,120
	long deadTime = 0;// 失效时间

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getServerName() {
		return serverName;
	}

	public void setServerName(String serverName) {
		this.serverName = serverName;
	}

	public String getWords() {
		return words;
	}

	public void setWords(String words) {
		this.words = words;
	}

	public int getLevelRange() {
		return levelRange;
	}

	public void setLevelRange(int levelRange) {
		this.levelRange = levelRange;
	}

	public long getDeadTime() {
		return deadTime;
	}

	public void setDeadTime(long deadTime) {
		this.deadTime = deadTime;
	}

	public boolean isValid() {
		return System.currentTimeMillis() < deadTime;
	}
}
